// 同步得去修改一些状态
const mutations = {
  setMenu(state, menu) {
    state.menu = menu;
  },
  //菜单栏数据
  setSidebarRoute(state, sidebarRoute) {
    state.sidebarRoute = sidebarRoute;
  },
  setType(state, type) {
    state.type = type;
  },
  setSource(state, source) {
    state.source = source;
  },
  setGroup(state, group) {
    state.group = group;
  },
};
export default mutations;
